package edu.pku.sei.autounit.util;

import java.util.logging.Level;
import java.util.logging.Logger;

public class Log {
	private static Logger log = Logger.getLogger("cn.edu.pku.sei.junitgenerator");
	public static void findBug(String sourceClass,String sourceMethod,String msg){
		log.logp(Level.SEVERE, sourceClass, sourceMethod, msg);
	}
	
	public static void gotUnexpectedExection(String sourceClass,String sourceMethod,String msg,Throwable e){
		log.logp(Level.SEVERE, sourceClass, sourceMethod, msg, e);
	}
	
	public static void info(String msg){
		log.info(msg);
	}
	
	

}
